package com.first.core;


public class Constants {
	public static final Short FLAG_DISABLE = 0;

	public static final Short FLAG_ACTIVATION = 1;

	public static final Short FLAG_DELETED = 1;

	public static final Short FLAG_UNDELETED = 0;
	public static final String DATE_FORMAT_FULL = "yyyy-MM-dd HH:mm:ss";
	public static final String DATE_FORMAT_YMD = "yyyy-MM-dd";
	public static final String FLOW_START_USER = "flowStartUser";
	public static final String FLOW_ASSIGN_ID = "flowAssignId";
	public static final String FLOW_SIGN_USERIDS = "signUserIds";
	public static final String FLOW_START_ID = "__start";
	public static final String FLOW_SUPER_ID = "__super";
	public static final String FLOW_LEAVE_KEY = "ReqHolidayOut";
	public static final String FLOW_NEXT_TRANS = "nextTrans";
	public static final String ARCHIES_ARCHIVESID = "archives.archivesId";
	public static final String COMPANY_LOGO = "app.logoPath";
	public static final String DEFAULT_LOGO = "/images/ht-logo.png";
	public static final String COMPANY_NAME = "app.companyName";
	public static final String DEFAULT_COMPANYNAME = "习赢网后台管理系统";
	public static final Short FLAG_PASS = 1;

	public static final Short FLAG_NOTPASS = 2;

	public static final Short ENABLED = 1;

	public static final Short UNENABLED = 0;


	/**
	 * 系统管理人员角色id(可能根据系统初始数据不同而变
	 */
	public static final String ROLE_MANAGER = "4";// TODO 暂时这样处理

	/**
	 * 请假流程中定义的角色变量值：上级标记
	 */
	public static final String FLOW_ERRANDS_MANAGER_FLAG = "manager";
	// 初始化密码
	public static final String PASSWORD = "123456";
	
	public static final String FILE_UPLOAD_PATH = "uploadFiles";
	
	/**
	 * Session 中user的属性名
	 */
	public static final String SESSION_UESR = "member";
	
	/**
	 * 图片验证码在session中的key
	 */
	public static final String CAPTCHA_KEY = "simpleCaptcha";
	
	/**
	 * 手机验证码在sesison中的key
	 */
	public static final String VERCODE_KEY = "verCode";
	
	
	/**
	 * 后台管理用户类型：服务中心
	 */
	public static final String SERVICE_USER_TYPE = "1";
	
	/**
	 * 后台管理用户类型：媒体
	 */
	public static final String MEDIA_USER_TYPE = "2";
	
}
